package com.zhenzhen.xszhcp.service;

import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Sheet;
import org.springframework.stereotype.Component;

import java.io.InputStream;
import java.util.List;
@Component
public interface ImportUtilService {
    List loadCcsbFromExcel(InputStream file, int a);

    /**
     * 获取单元格的值
     */
    String getCellValue(Cell cell);

    /**
     * 获取合并单元格的值
     */
    String getMergedRegionValue(Sheet sheet, int row, int column);
    /**
     * 判断指定的单元格是否是合并单元格
     */
    boolean isMergedRegion(Sheet sheet, int row, int column);
}
